<script>
    var username;
    console.log(username); // undefined

    var username2 = 'huruqing';
    console.log(username2);  
</script>